-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Fix RISC-V Test Failures in ./x test for Multiple Codegen and Assembly Cases #143792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
rustbot has assigned @Mark-Simulacrum. Use |
@@ -0,0 +1,127 @@ | |||
//@ compile-flags: -Copt-level=0 -Cno-prepopulate-passes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why split this out to a separate file? Skimming the contents I don't see major differences vs the existing file. Maybe we could use revisions instead if there's a few small differences (see tests/codegen/sanitizer/kcfi/emit-kcfi-operand-bundle-itanium-cxx-abi-generalized.rs for example).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The difference lies in the // CHECK lines. Would it be possible to separate them using revisions?
Merge no-riscv64 and riscv64
Merge no-riscv64 and riscv64.
The job Click to see the possible cause of the failure (guessed by this bot)
|
This PR addresses and resolves several test failures that occurred when running
./x test
on the RISC-V architecture. The issues were due to platform-specific behavior, ABI differences, or code generation inconsistencies specific to RISC-V.The following tests have been fixed:
assembly/dwarf-mixed-versions-lto.rs
codegen/const-vector.rs
codegen/enum/enum-aggregate.rs
codegen/simd/extract-insert-dyn.rs
codegen/transmute-scalar.rs
codegen/uninhabited-transparent-return-abi.rs
All changes have been tested locally with
./x test
on a RISC-V target and now pass as expected.Notes: